// --------------------------------------------------------------------------------------------------------------------
// <copyright file="ElementRuleContainer.cs" company="None">
//   Copyright (c) 2009-2012
// </copyright>
// <summary>
//   Container for element rules.
// </summary>
// --------------------------------------------------------------------------------------------------------------------

namespace CleanCode.StyleCopCustomRules
{
    using StyleCop.CSharp;

    /// <summary>
    /// Container for element rules.
    /// </summary>
    internal struct ElementRuleContainer
    {
        /// <summary>
        /// Gets or sets the type of the element.
        /// </summary>
        /// <value>The type of the element.</value>
        public ElementType ElementType { get; set; }

        /// <summary>
        /// Gets or sets the rule callback.
        /// </summary>
        /// <value>The rule callback.</value>
        public CodeWalkerElementVisitor<CleanCodeRulesAnalyzer> RuleCallback { get; set; }
    }
}